package com.example.mobile2121606109ycg0505;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import androidx.appcompat.app.AppCompatActivity;

public class RegisterActivity extends AppCompatActivity {

    private EditText edtTxtRegisterUserName;
    private EditText edtTxtRegisterPassword;
    private EditText edtTxtRegisterPassword2;
    private EditText edtTxtRegisterPone;
    private Button btnRegisterRegister;
    private Button btnRegisterExit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        initView();

        btnRegisterRegister.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

            }
        });
        btnRegisterExit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    private void initView() {
        edtTxtRegisterUserName = (EditText) findViewById(R.id.edtTxtRegisterUserName);
        edtTxtRegisterPassword = (EditText) findViewById(R.id.edtTxtRegisterPassword);
        edtTxtRegisterPassword2 = (EditText) findViewById(R.id.edtTxtRegisterPassword2);
        edtTxtRegisterPone = (EditText) findViewById(R.id.edtTxtRegisterPone);
        btnRegisterRegister = (Button) findViewById(R.id.btnRegisterRegister);
        btnRegisterExit = (Button) findViewById(R.id.btnRegisterExit);
    }
}